//
//  HMProfileTableViewController.swift
//  WeiBo
//
//  Created by Apple on 16/9/18.
//  Copyright © 2016年 KY. All rights reserved.
//

import UIKit

class HMProfileTableViewController: HMVisitorTableViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        if isLogin {
            setupNavUI()
        } else {
            //  未登录
            visitorView?.updateVisitorInfo(message: "登录后，你的微博、相册、个人资料会显示在这里，展示给别人", imageName: "visitordiscover_image_profile")
        }
        
        
        
    }
    
    
    
    fileprivate func setupNavUI() {
        
        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "push", target: self, action: #selector(pushAction))
    }
    
    @objc fileprivate func pushAction() {
        let testVc = HMTestViewController()
        navigationController?.pushViewController(testVc, animated: true)
    }
    
    
    
    

}
